package cn.springmvc.dao;


import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import cn.springmvc.model.Step3;
import cn.springmvc.model.Step3Example;
@Repository
public interface Step3Mapper {
    int countByExample(Step3Example example);

    int deleteByExample(Step3Example example);

    int deleteByPrimaryKey(Integer id);

    int insert(Step3 record);

    int insertSelective(Step3 record);

    List<Step3> selectByExample(Step3Example example);

    Step3 selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Step3 record, @Param("example") Step3Example example);

    int updateByExample(@Param("record") Step3 record, @Param("example") Step3Example example);

    int updateByPrimaryKeySelective(Step3 record);

    int updateByPrimaryKey(Step3 record);
    
    Step3 getStep3ByNianfen(@Param("year")int year);
    Step3 getStep3ByNameAndNianfen(@Param("year")int year,@Param("name")String name);
}